package com.spark.usermusicService.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.spark.usermusicService.entity.Songsheet1;
import com.spark.usermusicService.mapper.PlayMapper;

import com.spark.usermusicService.service.PlayService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author wzk
 * @since 2021-06-27
 */
@Service
public class PlayServiceImpl extends ServiceImpl<PlayMapper, Songsheet1> implements PlayService {

    @Override
    public void updateInfo(Songsheet1 songsheet1) {

             baseMapper.updateById(songsheet1);
    }

    @Override
    public Songsheet1 getInfo(String id) {
        return baseMapper.selectById(id);
    }
}
